package com.zuoye.experiment2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author coolwen
 * @since 2024-05-08 16:35:01
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_heroes")
public class Heroes {

    @TableId(value = "hero_id", type = IdType.AUTO)
    private Integer heroId;

    @TableField("`name`")
    private String name;

    @TableField("`description`")
    private String description;

    @TableField("birthday")
    private String birthday;
}
